The phrase "to attract someone" means to draw or pull someone towards oneself by creating an attraction, interest or appeal. This can be done through various methods such as displaying positive qualities, having a charming personality, offering something valuable or promising, etc., which makes the other person want to be around you or form a relationship with you.